<?php
/**
 * Akimimi front
 * newversionView
 * by M.Wang
 */
require_once '../app/views/BaseView.php';
$baseView = new BaseView();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>新版上线促销 - 阿基米米网上商城</title>
<link href="<?php echo $baseView->cssPathPrivate;?>headerAndFooter.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $baseView->cssPathPrivate;?>../feature/newversion/css.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="<?php echo $baseView->cssPathPrivate;?>../feature/newversion/jquery-1.3.2.js" type="text/javascript"></script>
<script language="javascript" src="<?php echo $baseView->cssPathPrivate;?>../feature/newversion/news.js" type="text/javascript"></script>

<script type='text/javascript' language='javascript' src='//<?php echo ConfigConstants::$iConstants.".".DOMAIN; ?>/t/<?php echo $GLOBALS["config"]['template_name']; ?>/javascript/akimimi.js'></script>
</head>

<body>
<?php
require_once '../app/views/HeaderView.php';
require_once '../app/views/FooterView.php';
echo HeaderView::getCommonHeaderView();
?>
<div id="lottery">
    <img src="<?php echo $baseView->cssPathPrivate;?>../feature/newversion/news_02.jpg" alt="" />
    <img src="<?php echo $baseView->cssPathPrivate;?>../feature/newversion/news_03.jpg" alt="" />
</div>
<div class="lottery_nav">
    <div class="lot_left"></div>
    <div class="lot_right">
        <ul>
            <li class="title_1">化妆品</li>
            <li class="title_2">服装</li>
            <li class="title_2">鞋类</li>
            <li class="title_2">笔记本</li>
            <li class="title_2">手机</li>
            <li class="title_2">数码产品</li>
        </ul>
    </div>
</div>
<div id="lottery_body">
     <div class="news_top"><img src="<?php echo $baseView->cssPathPrivate;?>../feature/newversion/news_010.jpg" alt="" /></div>
     <div class="news_body">
        <?php if(!empty($arr_mproducts)): foreach($arr_mproducts as $int_skey => $arr_products): ?>
        
        <div class="list_2" <?php echo $int_skey ? "style='display:none;'" : '';?>>
         <?php if(!empty($arr_products)): ?>
            <?php foreach($arr_products as $int_key => $arr_product): ?>
            <div class="pro_list" >
                <a href='/p/<?php echo $arr_product['url_title'];?>' target='_blank'>
                <img src="<?php echo $arr_product['p_image'];?>" alt="<?php echo $arr_product['description'];?>" />
                <p class="title_1">米米价格：￥<?php echo $arr_product['sale_price'];?></p>
                <p class="title_2"><?php if(strlen($arr_product['title']) > 36){echo CommonUtil::cut_str($arr_product['title'],36);} else { echo $arr_product['title'];} ?></p>
                </a>
            </div>
            <?php endforeach; ?>
           <?php endif; ?>
        </div>
        
        <?php endforeach;endif;?>
     </div>
     <div class="news_bottom"><img src="<?php echo $baseView->cssPathPrivate;?>../feature/newversion/news_012.jpg" alt="" /></div>
</div>

<?php
echo FooterView::getCommonFooterView();
?>

</body>
</html>
